package com.xu.service;

import com.xu.mapper.DeMapper;
import com.xu.pojo.Detail;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("DeService")
public class DeServiceImpl implements DeService {

    @Resource
    private DeMapper deMapper;

    public int delReply(Integer id){

        return deMapper.delReply(id);
   };


    //添加回复
   public int addReply(Detail reply_detail){
       return deMapper.addReply(reply_detail);
   };

}
